local html = [[

  <!--< html code >-->

]]

local htmlPath = '/sdcard/test.html'
writeFile(htmlPath, html)

local layoutVid = 'layout1'
ui.newLayout(layoutVid, -1, -1)
ui.addWebView(layoutVid, 'webId', htmlPath, -2, -2)
ui.show(layoutVid, false)
sleep(100000)